<script type="text/javascript" src="{{tpl:FlickrJSPath}}/shadowbox/build/adapter/shadowbox-jquery.js';?>"></script>
<script type="text/javascript" src="{{tpl:FlickrJSPath}}/shadowbox/build/shadowbox.js';?>"></script>
<script type="text/javascript">
    Shadowbox.loadSkin('classic', '{{tpl:FlickrJSPath}}/js/shadowbox/src/skin');
    Shadowbox.loadPlayer(['img', 'flv'], '{{tpl:FlickrJSPath}}/js/shadowbox/src/player');        
    Shadowbox.loadLanguage('fr', '{{tpl:FlickrJSPath}}/js/shadowbox/src/lang');
    
    $(window).load(function(){

            var options = {
                    handleOversize:         'resize',
                    handleUnsupported:      'remove',
                    modal:                  false,
                    autoplayMovies:         false,
                    flvPlayer:             '{{tpl:FlickrJSPath}}/js/shadowbox/flvplayer.swf'
            };

            Shadowbox.init(options);

    });

</script>